package org.example.Server.model.unit;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import org.example.Server.model.resource.Resource;

/**
 * 课程小节下的资源
 */
@Data
public class UnitRe {
    /**
     * Resource
     * private Integer resource_id;
     * private String resource_name;
     * private String resource_url;
     * private String update_time;
     * private String resource_type;
     * Integer tech_id;
     */
    Integer unit_re_id;
    Resource resource;
    @JsonInclude(JsonInclude.Include.NON_NULL)
    String video_cover;
    String create_time;
}
